import { defHttp } from './axios';

export enum Api {
  addInfourl = '/sys/user/addInfo',
  getInfourl = '/sys/user/getInfo?id='
}

// 新增用户履历 addInfo
export const addInfo = (params) => {
  let url = Api.addInfourl;
  return defHttp.post({ url: url, params });
};


// 获取用户数据
export const getInfo = (params?) => defHttp.get({ url: Api.getInfourl, params});
